<template>
  <div id="app">

    <div id="app">
      <div id="nav">
        <router-link to="/">Home</router-link> |
        <router-link to="/about">About</router-link> |
        <router-link to="/add">数据添加</router-link> |
        <router-link to="/edit">数据修改</router-link> |
        <router-link to="/list">数据管理</router-link> |
        <router-link to="/pie">饼形图</router-link> |
        <router-link to="/mains">框架</router-link> |
      </div>
      <router-view/>
    </div>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'app',
  components: {
    HelloWorld
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
